package top.infopub.model.cap;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import top.infopub.generic.GenericEntity;

import java.math.BigDecimal;
import java.util.Date;

/** 融资付息(CAP_PAY_INTEREST) **/
public class PayInterest extends GenericEntity  {
	private static final long serialVersionUID = 1L;

	/** SGUID */
	private String id;

	/** 单据编码 */
	private String codes;

	/** 项目全局唯一编码 */
	private String proCode;

	/** 付息金额 */
	private BigDecimal payIntAmt;

	/** 付款状态，0=未付款，1=已付款 */
	private String paymentStatus;

	/** 开户行 */
	private String bankName;

	/** 开户行卡号 */
	private String accountNo;

	/** 添加人 */
	private String addBy;

	/** 添加时间 */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date addTime;

	/** 最后修改人 */
	private String uptBy;

	/** 最后修改时间 */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date uptTime;

	/** 当前审批状态 1=审批中 9=审批完成 10=审批终止 */
	private String processStatus;

	/** 关联的审批流程ID */
	private String processId;

	/** 实际付息时间 */
	@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date paymentDate;

	/** 融资立项ID */
	private String finOrgId;

	/** 实际付息金额 */
	private BigDecimal actualPayAmt;

	/** OA待办ID */
	private String oaId;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getCodes() {
		return codes;
	}

	public void setCodes(String codes) {
		this.codes = codes;
	}

	public String getProCode() {
		return proCode;
	}

	public void setProCode(String proCode) {
		this.proCode = proCode;
	}

	public BigDecimal getPayIntAmt() {
		return payIntAmt;
	}

	public void setPayIntAmt(BigDecimal payIntAmt) {
		this.payIntAmt = payIntAmt;
	}

	public String getPaymentStatus() {
		return paymentStatus;
	}

	public void setPaymentStatus(String paymentStatus) {
		this.paymentStatus = paymentStatus;
	}

	public String getBankName() {
		return bankName;
	}

	public void setBankName(String bankName) {
		this.bankName = bankName;
	}

	public String getAccountNo() {
		return accountNo;
	}

	public void setAccountNo(String accountNo) {
		this.accountNo = accountNo;
	}

	public String getAddBy() {
		return addBy;
	}

	public void setAddBy(String addBy) {
		this.addBy = addBy;
	}

	public Date getAddTime() {
		return addTime;
	}

	public void setAddTime(Date addTime) {
		this.addTime = addTime;
	}

	public String getUptBy() {
		return uptBy;
	}

	public void setUptBy(String uptBy) {
		this.uptBy = uptBy;
	}

	public Date getUptTime() {
		return uptTime;
	}

	public void setUptTime(Date uptTime) {
		this.uptTime = uptTime;
	}

	public String getProcessStatus() {
		return processStatus;
	}

	public void setProcessStatus(String processStatus) {
		this.processStatus = processStatus;
	}

	public String getProcessId() {
		return processId;
	}

	public void setProcessId(String processId) {
		this.processId = processId;
	}

	public Date getPaymentDate() {
		return paymentDate;
	}

	public void setPaymentDate(Date paymentDate) {
		this.paymentDate = paymentDate;
	}

	public String getFinOrgId() {
		return finOrgId;
	}

	public void setFinOrgId(String finOrgId) {
		this.finOrgId = finOrgId;
	}

	public BigDecimal getActualPayAmt() {
		return actualPayAmt;
	}

	public void setActualPayAmt(BigDecimal actualPayAmt) {
		this.actualPayAmt = actualPayAmt;
	}

	public String getOaId() {
		return oaId;
	}

	public void setOaId(String oaId) {
		this.oaId = oaId;
	}
}